// 导航条
    $(function(){

        if(window.sessionStorage['header_id'] != null){
            var header_id = window.sessionStorage['header_id'];
            $(`[header_id=${header_id}]`).addClass('active');
            $(`[header_id=${header_id}]`).siblings().removeClass('active');
            switch(header_id){
            case '1':$('#nav_text').html('<p class="nav_text_tip">步骤一：<span class="nav_text_title">初审资料</span></p><p class="nav_text_main">填写下列信息</p>')
                break;
            case '2':$('#nav_text').html('<p class="nav_text_tip">步骤二：<span class="nav_text_title">车辆照片</span></p><p class="nav_text_main">上传下列照片</p>')
                break;
            case '3':$('#nav_text').html('<p class="nav_text_tip">步骤三：<span class="nav_text_title">原件照片</span></p><p class="nav_text_main">上传下列照片</p>')
                break;
            case '4':$('#nav_text').html('<p class="nav_text_tip">步骤四：<span class="nav_text_title">合同申请</span></p><p class="nav_text_main">填写下列选项</p>')
                break;
            case '5':$('#nav_text').html('<p class="nav_text_tip">步骤五：<span class="nav_text_title">合同照片</span></p><p class="nav_text_main">上传下列照片</p>')
                break;
        	}
        }

        $('nav ul').on('click','li',function(){
            window.sessionStorage['header_id'] = $(this).attr('header_id');
            $(this).addClass('active');
            $(this).siblings().removeClass('active');
            /* window.location.href = "/training/training_step"+$(this).attr('header_id'); */
        });

    })

